package cn.breeze.org.mapper;

import cn.breeze.org.domain.Shop;
import cn.breeze.basic.mapper.BaseMapper;
import cn.breeze.org.query.ReportShopQuery;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author breeze
 * @since 2022-07-01
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop loadByShopId(Long id);

    Shop loadByName(String name);

    void updateState(Long id);

    void patchAdd(List<Shop> shops);

    List<ReportShopQuery> reportShop();
}
